package com.lz.football.module.ladderMatch.item
{
	import com.common.utils.Reflection;
	import com.lz.football.module.base.IComponent;
	
	import flash.display.MovieClip;
	import flash.display.Sprite;
	
	public class LadderBaseItem extends Sprite implements IBaseItem, IComponent
	{
		/**
		 * 
		 */
		private  var _skin:MovieClip;
		
		
		
		public function LadderBaseItem()
		{
			super();
		}
		
		public function set data(value:*):void
		{
		}
		
		public function get data():*
		{
			return null;
		}
		
		public function initUI(view:Object=null):void
		{
			if(view is String)
			{
				_skin = Reflection.createInstance(view as String);
			}else
			{
				_skin = Reflection.createInstance("com.lz.modul.ladderMatch.initranking");
			}
				
			
			if(_skin == null)return;
			this.addChild(_skin);
			this.buttonMode = true;
			
		}
		
		public function addEvtListener():void
		{
		}
		
		public function removeEvtListener():void
		{
		}
		
		public function destroyView():void
		{
		}
	}
}